<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8"/>
  <title>Fetch Example</title>
  <script src="popup.js"></script>
</head>
<body>
<h1>Current URL</h1>
<div id="urlElement"></div>
<h2>Element </h2>
<pre id="Element"></pre>
<h2>Iframe </h2>
<pre id="IFrame"></pre>
<h2>Cookies</h2>
<ul id="cookies-list"></ul>
<textarea id="cookiesjson"></textarea>
<h2>操作 </h2>
<button id="fetch-dom">获取源代码</button>
<button id="collectGoods">抓取剪切板网址中的商品</button>
<button id="writecookies">记录登陆cookie</button>

<pre id="message"></pre>
<h2>Html</h2>
<!--ul ondblclick="javascript:this.focus()"><li><pre id="outerHTML"></pre></li></ul-->
<textarea id="outerHTML" ondblclick="javascript:this.focus()" style="width:100%;height:250px">
console.log(document.title);
</textarea>

</body>
</html>